package com.wangxiaotao.springcloud.alibaba.dao;

import com.wangxiaotao.springcloud.alibaba.entity.Storage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StorageDao {
    //扣减库存
    void decrease(@Param("productId")Integer productId,
                  @Param("count")Integer count);
}
